package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.CnasFile;
import com.zhijian.medical.entity.vo.request.CnasFileSearchVo;
import com.zhijian.medical.entity.vo.response.CnasFileVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CnasFileMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CnasFile record);

    int insertSelective(CnasFile record);

    CnasFile selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CnasFile record);

    int updateByPrimaryKey(CnasFile record);

    int count(CnasFileSearchVo cnasFileSearchVo);

    List<CnasFileVo> selectList(CnasFileSearchVo cnasFileSearchVo);

    CnasFileVo selectVoById(Long id);

    int insertBatch(@Param("entities") List<CnasFile> entities);
}